package hjt.com.module_test.utils;

import androidx.databinding.BindingAdapter;
import android.widget.ImageView;

import com.bumptech.glide.Glide;

/**
 * Created by hjt on 2019/5/29.
 */

public class ImageUtils {

    @BindingAdapter({"imageUrl"})
    public static void loading(ImageView imageView, String url) {
        Glide.with(imageView.getContext()).load(url).into(imageView);
    }
}
